﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace MensUnoShop.Models
{
    [Serializable]
    public class OrderData
    {
        protected Guid _oguid;
        protected string _otxid;
        protected string _ocashid;
        protected Guid? _mguid;
        protected string _memail;
        protected string _mname;
        protected PayType _paytype;
        protected int _orderprice;
        protected int _orderpayprice;
        protected int? _oshippingway;
        protected DateTime _orderdate;
        protected DateTime? _orderpaydate;
        //protected List<OrderMarket> _ordermarketlist;
        //protected Recipient _recipient;
        protected string _moksn;
        protected string _moktitle;
        protected int _mokamount;
        protected int _mokprice;
        protected int _moksingleprice;
        protected int? _mokstatus;
        protected DateTime? _mokstatusdatein;
        protected string _spec;
        protected string _color;
        protected int? _ostatus;
        protected DateTime? _ostatusdatein;
        protected int _odelivery;
        protected string _rcname;
        protected string _rctel;
        protected string _rccountry;
        protected string _rczip;
        protected string _rccity;
        protected string _rcarea;
        protected string _rcaddress;
        protected string _rccustomer;
        protected string _obbatchid;
        protected byte _oinvoicetype;
        protected string _oinvoicetitle;
        protected string _oinvoiceserial;
        protected string _oshippingnum;
        protected Config.MarketType _mktype;
        protected int _comboid;

        public Guid OGUID { set { _oguid = value; } get { return _oguid; } }
        public string OTXID { set { _otxid = value; } get { return _otxid; } }
        public string OCASHID { set { _ocashid = value; } get { return _ocashid; } }
        public Guid? MGUID { set { _mguid = value; } get { return _mguid; } }        
        public string MEMAIL { set { _memail = value; } get { return _memail; } }
        public string MNAME { set { _mname = value; } get { return _mname; } }
        public PayType PAYTYPE { set { _paytype = value; } get { return _paytype; } }
        public int ORDERPRICE { set { _orderprice = value; } get { return _orderprice; } }
        public int ORDERPAYPRICE { set { _orderpayprice = value; } get { return _orderpayprice; } }        
        public int? OSHIPPINGWAY { set { _oshippingway = value; } get { return _oshippingway; } }
        public DateTime ORDERDATE { set { _orderdate = value; } get { return _orderdate; } }
        public DateTime? ORDERPAYDATE { set { _orderpaydate = value; } get { return _orderpaydate; } }
        //public List<OrderMarket> ORDERMARKETLIST { set { _ordermarketlist = value; } get { return _ordermarketlist; } }
        //public Recipient RECIPIENT { set { _recipient = value; } get { return _recipient; } }
        public string MOKSN { set { _moksn = value; } get { return _moksn; } }
        public string MOKTITLE { set { _moktitle = value; } get { return _moktitle; } }
        public int MOKAMOUNT { set { _mokamount = value; } get { return _mokamount; } }
        public int MOKPRICE { set { _mokprice = value; } get { return _mokprice; } }
        public int MOKSINGLEPRICE { set { _moksingleprice = value; } get { return _moksingleprice; } }
        public int? MOKSTATUS { set { _mokstatus = value; } get { return _mokstatus; } }
        public DateTime? MOKSTATUSdatein { set { _mokstatusdatein = value; } get { return _mokstatusdatein; } }
        public string SPEC { set { _spec = value; } get { return _spec; } }
        public string COLOR { set { _color = value; } get { return _color; } }
        public int? OSTATUS { set { _ostatus = value; } get { return _ostatus; } }
        public DateTime? OSTATUSDATEIN { set { _ostatusdatein = value; } get { return _ostatusdatein; } }
        public int ODELIVERY { set { _odelivery = value; } get { return _odelivery; } }
        public string RCNAME { set { _rcname = value; } get { return _rcname; } }
        public string RCTEL { set { _rctel = value; } get { return _rctel; } }
        public string RCCOUNTRY { set { _rccountry = value; } get { return _rccountry; } }
        public string RCZIP { set { _rczip = value; } get { return _rczip; } }
        public string RCCITY { set { _rccity = value; } get { return _rccity; } }
        public string RCAREA { set { _rcarea = value; } get { return _rcarea; } }
        public string RCADDRESS { set { _rcaddress = value; } get { return _rcaddress; } }
        public string RCCUSTOMER { set { _rccustomer = value; } get { return _rccustomer; } }
        public string OBBATCHID { set { _obbatchid = value; } get { return _obbatchid; } }
        public byte OINVOICETYPE { set { _oinvoicetype = value; } get { return _oinvoicetype; } }
        public string OINVOICETITLE { set { _oinvoicetitle = value; } get { return _oinvoicetitle; } }
        public string OINVOICESERIAL { set { _oinvoiceserial = value; } get { return _oinvoiceserial; } }
        public string OSHIPPINGNUM { set { _oshippingnum = value; } get { return _oshippingnum; } }
        public Config.MarketType MKTYPE { set { _mktype = value; } get { return _mktype; } }
        public int MOKCOMBOOID { set { _comboid = value; } get { return _comboid; } }
        
        
        //public OrderData() 
        //{
        //    _ordermarketlist = new List<OrderMarket>();

        //}
    }
}